5 |
How do I put a picture on the control's background
|
4 |
How can I change the size of control's font
|
3 |
How do I change the control's font
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library' #import <ExScrollBar.dll> using namespace EXSCROLLBARLib; */ EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown(); spScrollBar1->GetFont()->PutName(L"Tahoma"); spScrollBar1->PutForeColor(RGB(255,0,0)); spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb"); |
2 |
How can I change the control's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library' #import <ExScrollBar.dll> using namespace EXSCROLLBARLib; */ EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown(); spScrollBar1->PutForeColor(RGB(255,0,0)); spScrollBar1->PutCaption(EXSCROLLBARLib::exThumbPart,L"<img>0</img>thumb"); |
1 |
How can I change the control's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXSCROLLBARLib' for the library: 'ExScrollBar 1.0 Control Library' #import <ExScrollBar.dll> using namespace EXSCROLLBARLib; */ EXSCROLLBARLib::IScrollBarPtr spScrollBar1 = GetDlgItem(IDC_SCROLLBAR1)->GetControlUnknown(); spScrollBar1->PutBackColor(RGB(0,255,0)); spScrollBar1->PutVisiblePart(EXSCROLLBARLib::exBackgroundPart,VARIANT_FALSE); |